[
  {
    "Plan": {
      "Node Type": "Sort",
      "Parallel Aware": false,
      "Startup Cost": 87.73,
      "Total Cost": 89.85,
      "Plan Rows": 850,
      "Plan Width": 80,
      "Actual Startup Time": 0.177,
      "Actual Total Time": 0.177,
      "Actual Rows": 2,
      "Actual Loops": 1,
      "Sort Key": ["s.country_id"],
      "Sort Method": "quicksort",
      "Sort Space Used": 25,
      "Sort Space Type": "Memory",
      "Plans": [
        {
          "Node Type": "Seq Scan",
          "Parent Relationship": "InitPlan",
          "Subplan Name": "CTE total_sum",
          "Parallel Aware": false,
          "Relation Name": "total_sum",
          "Alias": "total_sum",
          "Startup Cost": 0.00,
          "Total Cost": 18.50,
          "Plan Rows": 850,
          "Plan Width": 68,
          "Actual Startup Time": 0.010,
          "Actual Total Time": 0.011,
          "Actual Rows": 2,
          "Actual Loops": 1
        },
        {
          "Node Type": "Hash Join",
          "Parent Relationship": "Outer",
          "Parallel Aware": false,
          "Join Type": "Inner",
          "Startup Cost": 8.60,
          "Total Cost": 27.87,
          "Plan Rows": 850,
          "Plan Width": 80,
          "Actual Startup Time": 0.163,
          "Actual Total Time": 0.167,
          "Actual Rows": 2,
          "Actual Loops": 1,
          "Inner Unique": true,
          "Hash Cond": "(s.country_id = c.id)",
          "Plans": [
            {
              "Node Type": "CTE Scan",
              "Parent Relationship": "Outer",
              "Parallel Aware": false,
              "CTE Name": "total_sum",
              "Alias": "s",
              "Startup Cost": 0.00,
              "Total Cost": 17.00,
              "Plan Rows": 850,
              "Plan Width": 68,
              "Actual Startup Time": 0.013,
              "Actual Total Time": 0.015,
              "Actual Rows": 2,
              "Actual Loops": 1
            },
            {
              "Node Type": "Hash",
              "Parent Relationship": "Inner",
              "Parallel Aware": false,
              "Startup Cost": 5.49,
              "Total Cost": 5.49,
              "Plan Rows": 249,
              "Plan Width": 16,
              "Actual Startup Time": 0.141,
              "Actual Total Time": 0.142,
              "Actual Rows": 249,
              "Actual Loops": 1,
              "Hash Buckets": 1024,
              "Original Hash Buckets": 1024,
              "Hash Batches": 1,
              "Original Hash Batches": 1,
              "Peak Memory Usage": 21,
              "Plans": [
                {
                  "Node Type": "Seq Scan",
                  "Parent Relationship": "Outer",
                  "Parallel Aware": false,
                  "Relation Name": "countries",
                  "Alias": "c",
                  "Startup Cost": 0.00,
                  "Total Cost": 5.49,
                  "Plan Rows": 249,
                  "Plan Width": 16,
                  "Actual Startup Time": 0.007,
                  "Actual Total Time": 0.068,
                  "Actual Rows": 249,
                  "Actual Loops": 1
                }
              ]
            }
          ]
        }
      ]
    },
    "Planning Time": 0.208,
    "Triggers": [
    ],
    "Execution Time": 0.217
  }
]
